package com.sync.utils.project.gasStatistics.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sync.utils.project.gasStatistics.pojo.GasMonthDto;
import com.sync.utils.project.gasStatistics.pojo.GasMonthRecord;
import com.sync.utils.project.gasStatistics.pojo.GasMonthReq;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TODO
 *
 * @Author YWF
 * @Date 2025/3/15 21:59
 */
@Repository
public interface GasMonthMapper extends BaseMapper<GasMonthDto> {

    List<GasMonthDto> getGasMonthBill(@Param("gasReq") GasMonthReq gasReq);

    GasMonthRecord getGasMonth();

    int batchGasMonthBill(@Param("list") List<GasMonthDto> list);

}
